package cn.icanci.ladybird.service.admin;

import cn.icanci.ladybird.pojo.bo.AdminLoginBO;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @author: icanci
 * @date: Created in 2020/10/8 16:09
 * @classAction: 处理管理员登录的服务
 */
public interface AdminLoginService {
    /**
     * 根据管理员登录的信息登录
     *
     * @param adminLoginBO 查询密码
     * @return 返回token
     */
    String queryByAdminLoginBO(HttpServletRequest request, HttpServletResponse response, AdminLoginBO adminLoginBO) throws IOException;
}
